package com.totoro.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.totoro.dao.BaseHibernateDao;
import com.totoro.dao.DegreeDao;
import com.totoro.domain.Degree;
/**
 * 
 * @author xiang fusheng
 *
 */
/*
 * 学位service
 */
@Transactional
@Service
public class  DegreeService extends BaseService<Degree, Integer>{
	
	private   DegreeDao   degreeDao;

	@Autowired
	@Override
	public void setBaseDao(BaseHibernateDao<Degree, Integer> degreeDao) {
		// TODO Auto-generated method stub
		this.baseDao = degreeDao;
		this.degreeDao = (DegreeDao)degreeDao;
	}

	

	

	

}
